package com.py.credit.service;

import com.py.credit.entity.Application;
import com.py.credit.entity.CheckReport;

import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface ApplicationService {

	public int addApplicationInfo(String applicant_unit, String tybm, String check_purpose, String applicat_date, int user_id,String username);

	public Application selectApplicationInfo(int id);
	
	public CheckReport selectCheckReportInfo(@Param(value = "id") int id);

	public String selectTybmByQymc(String qymc);

	public void updateApplication(int id,String managerDate,String status,String pdfpath);
	
	public void updateCheckReport(int id,String checkTime,String checkStatus,String pdfpath);

	public List<Application> selectApplicationInfoList(int userId);
	
	public List<CheckReport> selectCheckReportInfoList(int userId);
	
	public int addCheck(String qymc,String tyshxydm,String fddbr,String lxr,String lxrdh,String yx,String purpose,Integer userId);
}
